Objects Reference

class mp_games

Definition

class mp_games
{
  public:
  int num;
  char name[FLYMP_MAXGAMES][128];
  int num_players[FLYMP_MAXGAMES];
  GUID guid[FLYMP_MAXGAMES];

  mp_games()
  { num=0; };
};

Data Members

Member Type Description
num int number of games
name char[][] game names array
num_players int[] number of players array
guid GUID[] games GUID array

Methods

None

Remarks

This class is used to enumerate games on a specific server. 
Use the enum_games function to get a pointer to this class. The class will be filled with information on all games available to join. Pass the guid field of the selected game to the join_game function to enter the game. 

See Also

directX, mp_msg